package com.group5.onlinegame.entity;

import java.sql.Timestamp;

public class Ip {
    private int id;
    private String ip;
    private int status;
    private Timestamp deadtime;
    private Timestamp createtime;
    private String remarks;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Timestamp getDeadtime() {
        return deadtime;
    }

    public void setDeadtime(Timestamp deadtime) {
        this.deadtime = deadtime;
    }

    public Timestamp getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Timestamp createtime) {
        this.createtime = createtime;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Ip() {
    }

    public Ip(int id, String ip, int status, Timestamp deadtime, Timestamp createtime, String remarks) {
        this.id = id;
        this.ip = ip;
        this.status = status;
        this.deadtime = deadtime;
        this.createtime = createtime;
        this.remarks = remarks;
    }

    @Override
    public String toString() {
        return "Ip{" +
                "id=" + id +
                ", ip='" + ip + '\'' +
                ", status=" + status +
                ", deadtime=" + deadtime +
                ", createtime=" + createtime +
                ", remarks='" + remarks + '\'' +
                '}';
    }
}
